home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
os2
/
adaptor.zip
/
ADAPT.ZIP
/
adaptor
/
src
/
include
/
semexp.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-01-03
|
1KB
|
46 lines
# ifndef yySemExp
# define yySemExp
# if defined __STDC__ | defined __cplusplus
# define ARGS(parameters) parameters
# else
# define ARGS(parameters) ()
# endif
# ifndef bool
# define bool char
# endif
# include "Tree.h"
# include "Definiti.h"
# line 26 "SemExp.puma"
# define MAXLoops 20
/*********************************************************************
* *
* Nest[0] DO I1 = ... *
* Nest[1] DO I2 = ... *
* ... *
* Nest[Nesting-1] FORALL Ik = ... *
* *
* stmt : A(I1,I2,...,Ik) = .... *
* *
*********************************************************************/
extern int Nesting; /* actual nesting depth */
extern tTree Nest[MAXLoops]; /* actual loops of loop nesting */
extern void SemExp ARGS((tTree t, int * ResultRank));
extern void SemExpList ARGS((tTree t));
extern void SemParamList ARGS((tTree t));
extern void BeginSemExp ();
extern void CloseSemExp ();
# endif